<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    {if request()->request('BasicinfoID') == 0}
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Basicinfoid')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-BasicinfoID" data-rule="required" min="0" data-source="resume/basicinfo/index" data-primary-key="BasicinfoID" data-field="Name" data-search-field="Name" data-format-item="{Name} - {Remark}" class="form-control selectpage" name="row[BasicinfoID]" type="text" value="{$row.BasicinfoID|htmlentities}">
            </div>
        </div>
    </div>
    {else}
    <input type="hidden" value="{$row.BasicinfoID|htmlentities}" name="row[BasicinfoID]">
    {/if}
    <div class="row">
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Accommodationrequired')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-AccommodationRequired" data-rule="required" class="form-control selectpicker" name="row[AccommodationRequired]">
                    {foreach name="accommodationrequiredList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.AccommodationRequired"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Availabilityday')}:</label>
            <div class="col-xs-12 col-sm-8">

                <select  id="c-AvailabilityDay" data-rule="required" class="form-control selectpicker" name="row[AvailabilityDay]">
                    {foreach name="availabilitydayList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.AvailabilityDay"}selected{/in}>{$vo}</option>
                    {/foreach}
                </select>

            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Expectedjobfunction')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-ExpectedJobFunction" data-rule="required" class="form-control" name="row[ExpectedJobFunction]" type="text" value="{$row.ExpectedJobFunction|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Expectedjobindustry')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-ExpectedJobIndustry" data-rule="required" class="form-control" name="row[ExpectedJobIndustry]" type="text" value="{$row.ExpectedJobIndustry|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Expectedjoblocation')}:</label>
            <div class="col-xs-12 col-sm-8">
                <input id="c-ExpectedJobLocation" data-rule="required" class="form-control" data-toggle="city-picker" data-level="city" name="row[ExpectedJobLocation]" type="text" value="{$row.ExpectedJobLocation|htmlentities}">
            </div>
        </div>
        <div class="form-group col-sm-6">
            <label class="control-label col-xs-12 col-sm-4">{:__('Expectedsalary')}:</label>
            <div class="col-xs-12 col-sm-8">
                <div class="input-group">
                    <input id="c-ExpectedSalary" data-rule="required" class="form-control" name="row[ExpectedSalary]" type="number" value="{$row.ExpectedSalary|htmlentities}">
                    <span class="input-group-addon">
                                <i class="fa fa-jpy"></i> 以上
                            </span>
                </div>
            </div>
        </div>
    </div>

    <div class="form-group col-sm-12 layer-footer">
        <div class="col-xs-12 col-sm-offset-2 px-0">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>
